package com.xingkeduo.business.common.domain;

import com.xingkeduo.util.pojo.enums.*;
import org.springframework.stereotype.Component;

@Component
public class CommonDomain {
    public RecruitSourceEnum[] getRecruitSources() throws Throwable {
        return RecruitSourceEnum.values();
    }

    public DegreeEnum[] getDegrees() throws Throwable {
        return DegreeEnum.values();
    }

    public WorkYearEnum[] getWorkYears() throws Throwable {
        return WorkYearEnum.values();
    }

    public LeavingTypeEnum[] getLeavingType() throws Throwable {
        return LeavingTypeEnum.values();
    }

    public BankEnums[] getBankType() throws Throwable {
        return BankEnums.values();
    }
}
